/**
 * MineAdmin is committed to providing solutions for quickly building web applications
 * Please view the LICENSE file that was distributed with this source code,
 * For the full copyright and license information.
 * Thank you very much for using MineAdmin.
 *
 * @Author X.Mo<root@imoi.cn>
 * @Link   https://github.com/mineadmin
 */
import type { ResponseStruct } from '#/global'

export interface MenuVo {
  type?: '',
  name?: '',
  url?: '',
  pay_userid?: '',
  pay_password?: '',
  username?: '',
  password?: '',
  otherConf?: '',
  page?:1,
  limit?:10,
  id?:'',
  class?:'',
  listid?:"",
  Docking?:'',
  priceName_id?:""
}

//订单列表
export function getOrderList(data: MenuVo): Promise<ResponseStruct> {
  return useHttp().post('/Order/getOrderList', data)
}
//订单详情
export function getOrderDetail(data: MenuVo): Promise<ResponseStruct> {
  return useHttp().post('/Order/orderInfo', data)
}
//卡密详情
export function getOrderCardInfo(data: MenuVo): Promise<ResponseStruct> {
  return useHttp().post('/Order/getOrderCardInfo', data)
}
//订单金额明细
export function orderMemberMoney(data: MenuVo): Promise<ResponseStruct> {
  return useHttp().post('/Order/orderMemberMoney', data)
}
//订单退款明细
export function orderRefundList(data: MenuVo): Promise<ResponseStruct> {
  return useHttp().post('/Order/orderRefundList', data)
}
//销售明细
export function orderAdmissionMon(data: MenuVo): Promise<ResponseStruct> {
  return useHttp().post('/Order/orderAdmissionMoney', data)
}
//订单劳务资金明细
export function orderSupMoneyDetail(data: MenuVo): Promise<ResponseStruct> {
  return useHttp().post('/Order/orderSupMoneyDetail', data)
}

//订单处理页面渲染
export function orderStatusChangeBefore(data: MenuVo): Promise<ResponseStruct> {
  return useHttp().post('/Order/orderStatusChangeBefore', data)
}
//订单处理页面渲染
export function changeOrder(data: MenuVo): Promise<ResponseStruct> {
  return useHttp().post('/Order/changeOrder', data)
}
//删除
export function delOrder(data: MenuVo): Promise<ResponseStruct> {
  return useHttp().post('/Order/delOrder', data)
}
//获取订单列表需要渲染页面前置数据
export function getDockSelectList(data: MenuVo): Promise<ResponseStruct> {
  return useHttp().post('/Order/getDockSelectList', data)
}
//订单，可选物流信息列
export function entityList(data: MenuVo): Promise<ResponseStruct> {
  return useHttp().post('/Order/entityList', data)
}
//批量解除QQ
export function unbindUserQQForIds(data: MenuVo): Promise<ResponseStruct> {
  return useHttp().post('/Customer/unbindUserQQForIds', data)
}
//批量解除微信
export function unbindUserWechatForIds(data: MenuVo): Promise<ResponseStruct> {
  return useHttp().post('/Customer/unbindUserWechatForIds', data)
}
//批量修改密码
export function changePayPasswordForIds(data: MenuVo): Promise<ResponseStruct> {
  return useHttp().post('/Customer/changePayPasswordForIds', data)
}
//批量解绑上级
export function unbindMyFalter(data: MenuVo): Promise<ResponseStruct> {
  return useHttp().post('/Customer/unbindMyFalter', data)
}
//客户级别
export function userLevelList(data: MenuVo): Promise<ResponseStruct> {
  return useHttp().post('/Customer/userLevelList', data)
}
//批量修改用户等级
export function editUserLevelForIds(data: MenuVo): Promise<ResponseStruct> {
  return useHttp().post('/Customer/editUserLevelForIds', data)
}
//批量修改用户状态
export function updateStatus(data: MenuVo): Promise<ResponseStruct> {
  return useHttp().post('/Customer/updateStatusForIds', data)
}
//批量修改用户
export function updateStatus2(data: MenuVo): Promise<ResponseStruct> {
  return useHttp().post('/Customer/updateStatus', data)
}
//修改价格
export function changeMyMoney(data: MenuVo): Promise<ResponseStruct> {
  return useHttp().post('/Customer/changeMyMoney', data)
}
//批量发送短信
export function smsSend(data: MenuVo): Promise<ResponseStruct> {
  return useHttp().post('/Customer/smsSend', data)
}
//客户金额明细列表
export function getUserMoneyLog(data: MenuVo): Promise<ResponseStruct> {
  return useHttp().post('/Customer/getUserMoneyLog', data)
}
//客户登入日志
export function userLoginLog(data: MenuVo): Promise<ResponseStruct> {
  return useHttp().post('/Customer/userLoginLog', data)
}
//重置登入密码
export function changeRenewLoginPassword(data: MenuVo): Promise<ResponseStruct> {
  return useHttp().post('/Customer/changeRenewLoginPassword', data)
}
//重置交易密码
export function changeRenewPayPassword(data: MenuVo): Promise<ResponseStruct> {
  return useHttp().post('/Customer/changeRenewPayPassword', data)
}
//重置进货接口密钥
export function changeRenewIncome(data: MenuVo): Promise<ResponseStruct> {
  return useHttp().post('/Customer/changeRenewIncome', data)
}
//重置供货接口访问密钥
export function changeRenewHand(data: MenuVo): Promise<ResponseStruct> {
  return useHttp().post('/Customer/changeRenewHand', data)
}
//重置平台对接密钥
export function changeRenewFlatform(data: MenuVo): Promise<ResponseStruct> {
  return useHttp().post('/Customer/changeRenewFlatform', data)
}
//修改状态转账
export function changeUserTurnMoney(data: MenuVo): Promise<ResponseStruct> {
  return useHttp().post('/Customer/changeUserTurnMoney', data)
}
//修改是否是团长
export function changeUserTeamHead(data: MenuVo): Promise<ResponseStruct> {
  return useHttp().post('/Customer/changeUserTeamHead', data)
}
//获取下级客户
export function getSonList(data: MenuVo): Promise<ResponseStruct> {
  return useHttp().post('/Customer/getSonList', data)
}
//支付记录
export function payInfo(data: MenuVo): Promise<ResponseStruct> {
  return useHttp().post('/Customer/payInfo', data)
}
//批量对接信息
export function editFlatformForIds(data: MenuVo): Promise<ResponseStruct> {
  return useHttp().post('/Customer/editFlatformForIds', data)
}
//批量对接供货配置
export function changeUserR(data: MenuVo): Promise<ResponseStruct> {
  return useHttp().post('/Customer/changeUserR', data)
}

//获取订单类型
export function getOrderPayType(data: MenuVo): Promise<ResponseStruct> {
  return useHttp().post('/Customer/getOrderPayType', data)
}

